<?php
/* SVN FILE: $Id: default.ctp 7118 2008-06-04 20:49:29Z gwoo $ */
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
 * Copyright 2005-2008, Cake Software Foundation, Inc.
 *								1785 E. Sahara Avenue, Suite 490-204
 *								Las Vegas, Nevada 89104
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @filesource
 * @copyright		Copyright 2005-2008, Cake Software Foundation, Inc.
 * @link				http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
 * @package			cake
 * @subpackage		cake.cake.console.libs.templates.skel.views.layouts
 * @since			CakePHP(tm) v 0.10.0.1076
 * @version			$Revision: 7118 $
 * @modifiedby		$LastChangedBy: gwoo $
 * @lastmodified	$Date: 2008-06-04 13:49:29 -0700 (Wed, 04 Jun 2008) $
 * @license			http://www.opensource.org/licenses/mit-license.php The MIT License
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $html->charset(); ?>
	<title>
		<?php __('g-pac08 '); ?>
		<?php echo $title_for_layout;?>
	</title>
	<?php
		echo $html->meta('icon');

		echo $html->css('pacientes');
		echo $html->css('calendar');
		echo $html->css('keyboard');

		echo $scripts_for_layout;
		
		//Virtual KeyBoard
		echo $javascript->link('keyboard');
		
		//Scriptaculous Library
		echo $javascript->link('prototype');
		echo $javascript->link('effects');
		
	?>
</head>
<body>
	<div id="container">
		<div id="header">
			<div class="header">
				<?php echo __('Sistema de Gestión de Pacientes', true);?>
				<?php echo __('<p style="float:right;display:inline;font-size:45%;">v0.1.2</p>', true);?>
			</div>
		</div>
		<div id="content">
		<?php 
				if (@$_SESSION['Auth']['User']['username']!=''){
					$html->addCrumb('Home','/'); 
					echo $html->getCrumbs();			
				}

				if ($session->check('Message.flash')):
						$session->flash();
				endif;
			?>

			<?php echo $content_for_layout;?>

		</div>
		<div id="footer">
			<?php echo $html->link(
							$html->image('cake.power.gif', array('alt'=> __("CakePHP: the rapid development php framework", true), 'border'=>"0")),
							'http://www.cakephp.org/',
							array('target'=>'_new'), null, false
						);
			?>
		</div>
	</div>
	<?php  echo $cakeDebug?>
</body>
</html>